package cn.kailangtu.commonevents.eventEntity;

import cn.kailangtu.commonevents.data.DataBean;

public class DataBeanChangedEvent {
    private int address;
    private int oldValue;
    private int newValue ;


    public DataBeanChangedEvent(int address,int oldValue, int newValue)
    {
        this.address = address;
        this.oldValue = oldValue;
        this.newValue = newValue;
    }

    public int getAddress() {
        return address;
    }

    public void setAddress(int address) {
        this.address = address;
    }

    public int getOldValue() {
        return oldValue;
    }

    public void setOldValue(int oldValue) {
        this.oldValue = oldValue;
    }

    public int getNewValue() {
        return newValue;
    }

    public void setNewValue(int newValue) {
        this.newValue = newValue;
    }
}
